package com.adgox.tiantianbiting.mine.tingCoinRecord;

import com.adgox.tiantianbiting.base.BasePresenter;
import com.adgox.tiantianbiting.base.BaseView;
import com.adgox.tiantianbiting.bean.PageBean;
import com.adgox.tiantianbiting.bean.RechargeInfoBean;
import com.adgox.tiantianbiting.bean.TradeRecordBean;

import java.util.List;

/**
 * Created by tang on 2019/2/28.
 */

public class TingCoinRecordContract {
    interface Presenter extends BasePresenter{
        void getRecordData(int currentPage,int maxPage);

        void sendVert(String mobile,int userId);

        void checkVert(String s);
    }

    interface View extends BaseView<Presenter>{
        void onSetTips1(RechargeInfoBean bean);
        void onsetTips1Failed(String msg);

        void onSetRvData(PageBean<TradeRecordBean> beans);
        void onSetRvDataFailed(String msg);

        void onGetVertSuccess();
        void onGetVertFailed(String msg);

        void onCheckVertSuccess();
        void onCheckVertFailed(String msg);
    }
}
